home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / pc / egyptw.dir / 01706_Script_how do we know < prev    next >
Text File  |  1995-09-13  |  8KB  |  273 lines

  1. global gQuest, gBeenClicked
  2.  
  3. on EHowDoWeKnowRollovers1
  4.   set gBeenClicked = 0
  5.   if rollover(6) then
  6.     ArrowCursor
  7.     repeat while rollover(6)
  8.       set the locH of sprite 7 to 373
  9.       set the locV of sprite 7 to 128
  10.       updatestage
  11.     end repeat
  12.   else
  13.     if rollover(8) then
  14.       ArrowCursor
  15.       repeat while rollover(8)
  16.         set the locH of sprite 9 to 426
  17.         set the locV of sprite 9 to 345
  18.         updatestage
  19.       end repeat
  20.       set the locH of sprite 9 to 926
  21.       updatestage
  22.     else
  23.       if rollover(10) then
  24.         ArrowCursor
  25.         repeat while rollover(10)
  26.           set the locH of sprite 11 to 379
  27.           set the locV of sprite 11 to 207
  28.           updatestage
  29.         end repeat
  30.       else
  31.         if rollover(12) then
  32.           ArrowCursor
  33.           repeat while rollover(12)
  34.             set the locH of sprite 13 to 420
  35.             set the locV of sprite 13 to 275
  36.             updatestage
  37.           end repeat
  38.         else
  39.           if rollover(14) then
  40.             ArrowCursor
  41.             repeat while rollover(14)
  42.               set the locH of sprite 15 to 215
  43.               set the locV of sprite 15 to 331
  44.               updatestage
  45.             end repeat
  46.             set the locH of sprite 15 to 915
  47.             updatestage
  48.           else
  49.             if rollover(16) then
  50.               ArrowCursor
  51.               repeat while rollover(16)
  52.                 set the locH of sprite 17 to 547
  53.                 set the locV of sprite 17 to 303
  54.                 updatestage
  55.               end repeat
  56.               set the locH of sprite 17 to 947
  57.               updatestage
  58.             else
  59.               if rollover(40) then
  60.                 HandCursor
  61.               else
  62.                 if rollover(41) then
  63.                   HandCursor
  64.                 else
  65.                   if rollover(42) then
  66.                     HandCursor
  67.                   else
  68.                     ArrowCursor
  69.                   end if
  70.                 end if
  71.               end if
  72.             end if
  73.           end if
  74.         end if
  75.       end if
  76.     end if
  77.   end if
  78. end
  79.  
  80. on EHowDoWeKnowRollovers2
  81.   set gBeenClicked = 0
  82.   if rollover(6) then
  83.     ArrowCursor
  84.     repeat while rollover(6)
  85.       set the locH of sprite 7 to 510
  86.       set the locV of sprite 7 to 159
  87.       updatestage
  88.     end repeat
  89.   else
  90.     if rollover(8) then
  91.       ArrowCursor
  92.       repeat while rollover(8)
  93.         set the locH of sprite 9 to 271
  94.         set the locV of sprite 9 to 266
  95.         updatestage
  96.       end repeat
  97.       set the locH of sprite 9 to 971
  98.       updatestage
  99.     else
  100.       if rollover(10) then
  101.         ArrowCursor
  102.         repeat while rollover(10)
  103.           set the locH of sprite 11 to 186
  104.           set the locV of sprite 11 to 356
  105.           updatestage
  106.         end repeat
  107.         set the locH of sprite 11 to 986
  108.         updatestage
  109.       else
  110.         if rollover(12) then
  111.           ArrowCursor
  112.           repeat while rollover(12)
  113.             set the locH of sprite 13 to 272
  114.             set the locV of sprite 13 to 289
  115.             updatestage
  116.           end repeat
  117.           set the locH of sprite 13 to 972
  118.           updatestage
  119.         else
  120.           if rollover(14) then
  121.             ArrowCursor
  122.             repeat while rollover(14)
  123.               set the locH of sprite 15 to 464
  124.               set the locV of sprite 15 to 264
  125.               updatestage
  126.             end repeat
  127.             set the locH of sprite 15 to 964
  128.             updatestage
  129.           else
  130.             if rollover(16) then
  131.               ArrowCursor
  132.               repeat while rollover(16)
  133.                 set the locH of sprite 17 to 516
  134.                 set the locV of sprite 17 to 208
  135.                 updatestage
  136.               end repeat
  137.               set the locH of sprite 17 to 916
  138.               updatestage
  139.             else
  140.               if rollover(18) then
  141.                 ArrowCursor
  142.                 repeat while rollover(18)
  143.                   set the locH of sprite 19 to 549
  144.                   set the locV of sprite 19 to 283
  145.                   updatestage
  146.                 end repeat
  147.                 set the locH of sprite 19 to 949
  148.                 updatestage
  149.               else
  150.                 if rollover(20) then
  151.                   ArrowCursor
  152.                   repeat while rollover(20)
  153.                     set the locH of sprite 21 to 377
  154.                     set the locV of sprite 21 to 134
  155.                     updatestage
  156.                   end repeat
  157.                   set the locH of sprite 21 to 977
  158.                   updatestage
  159.                 else
  160.                   if rollover(39) then
  161.                     HandCursor
  162.                   else
  163.                     if rollover(40) then
  164.                       HandCursor
  165.                     else
  166.                       if rollover(41) then
  167.                         HandCursor
  168.                       else
  169.                         if rollover(42) then
  170.                           HandCursor
  171.                         else
  172.                           ArrowCursor
  173.                         end if
  174.                       end if
  175.                     end if
  176.                   end if
  177.                 end if
  178.               end if
  179.             end if
  180.           end if
  181.         end if
  182.       end if
  183.     end if
  184.   end if
  185. end
  186.  
  187. on EHowDoWeKnowRollovers3
  188.   set gBeenClicked = 0
  189.   if rollover(6) then
  190.     ArrowCursor
  191.     repeat while rollover(6)
  192.       set the locH of sprite 7 to 545
  193.       set the locV of sprite 7 to 288
  194.       updatestage
  195.     end repeat
  196.     set the locH of sprite 7 to 945
  197.     updatestage
  198.   else
  199.     if rollover(8) then
  200.       ArrowCursor
  201.       repeat while rollover(8)
  202.         set the locH of sprite 9 to 235
  203.         set the locV of sprite 9 to 344
  204.         updatestage
  205.       end repeat
  206.       set the locH of sprite 9 to 935
  207.       updatestage
  208.     else
  209.       if rollover(10) then
  210.         ArrowCursor
  211.         repeat while rollover(10)
  212.           set the locH of sprite 11 to 454
  213.           set the locV of sprite 11 to 204
  214.           updatestage
  215.         end repeat
  216.         set the locH of sprite 11 to 954
  217.         updatestage
  218.       else
  219.         if rollover(12) then
  220.           ArrowCursor
  221.           repeat while rollover(12)
  222.             set the locH of sprite 13 to 242
  223.             set the locV of sprite 13 to 196
  224.             updatestage
  225.           end repeat
  226.         else
  227.           if rollover(14) then
  228.             ArrowCursor
  229.             repeat while rollover(14)
  230.               set the locH of sprite 15 to 376
  231.               set the locV of sprite 15 to 113
  232.               updatestage
  233.             end repeat
  234.           else
  235.             if rollover(16) then
  236.               ArrowCursor
  237.               repeat while rollover(16)
  238.                 set the locH of sprite 17 to 429
  239.                 set the locV of sprite 17 to 121
  240.                 updatestage
  241.               end repeat
  242.             else
  243.               if rollover(18) then
  244.                 ArrowCursor
  245.                 repeat while rollover(18)
  246.                   set the locH of sprite 19 to 500
  247.                   set the locV of sprite 19 to 121
  248.                   updatestage
  249.                 end repeat
  250.               else
  251.                 if rollover(20) then
  252.                   ArrowCursor
  253.                   repeat while rollover(20)
  254.                     set the locH of sprite 21 to 330
  255.                     set the locV of sprite 21 to 113
  256.                     updatestage
  257.                   end repeat
  258.                 else
  259.                   if rollover(39) then
  260.                     HandCursor
  261.                   else
  262.                     ArrowCursor
  263.                   end if
  264.                 end if
  265.               end if
  266.             end if
  267.           end if
  268.         end if
  269.       end if
  270.     end if
  271.   end if
  272. end
  273.